package com.hpli.domain.strategy.service.rule.chain;


import lombok.extern.slf4j.Slf4j;

/**
 * @Author: 汀
 * @CreateTime: 2025-03-26
 * @Description: 抽奖策略责任链，判断走哪种抽奖策略
 * @Version: 1.0
 */

@Slf4j
public abstract class AbstractLogicChain implements ILogicChain {
    private ILogicChain next;

    @Override
    public ILogicChain next() {
        return next;
    }

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }

    protected abstract String ruleModel();
}
